/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package billingServer;

import java.util.HashMap;

/**
 *
 * @author Max
 */
public class UserAuctions {
    private HashMap<Long, Double> auctions;
    
    public UserAuctions() {
        auctions = new HashMap<Long, Double>();
    }
    
    public void addAuction(long auctionID, double strikePrice) {
        getAuctions().put(Long.valueOf(auctionID), Double.valueOf(strikePrice));
    }

    /**
     * @return the auctions
     */
    public HashMap<Long, Double> getAuctions() {
        return auctions;
    }
    
}
